package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Lenovo 2022/7/26 17:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CaseBo {

    @ExcelProperty(value = "病例编号")
    private Integer id;         //病例编号

    @ExcelProperty(value = "姓名")
    private String name;        //姓名

    @ExcelProperty(value = "性别")
    private String sex;         //性别

    @ExcelProperty(value = "年龄")
    private String age;         //年龄

    @ExcelProperty(value = "症状")
    private String symptom;     //症状

    @ExcelProperty(value = "处方")
    private String prescription;//处方

    @ExcelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;          //日期

}
